<!DOCTYPE html>
<html lang="ch" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>顶部框</title>
</head>
<body>
<nav class="main-header navbar navbar-expand navbar-white navbar-light navbar-primary" th:fragment="header-nav">
    <!-- Left navbar links -->
    <ul class="navbar-nav">
        <li class="nav-item">
            <a class="nav-link" data-widget="pushmenu" href="#" role="button"><i class="fas fa-bars"></i></a>
        </li>
        <li class="nav-item d-none d-sm-inline-block">
            <a th:href="@{/admin/index}" class="nav-link">
                <i class="fas fa-home"></i>
                <b>后台主页</b>
            </a>
        </li>
    </ul>

    <!-- 右上角 -->
    <ul class="navbar-nav ml-auto">
        <li class="nav-item dropdown">
            <a th:href="@{/index}" class="nav-link" target="_blank">
                <i class="fas fa-location-arrow"></i>&nbsp;<b>宠物招领系统首页</b>
            </a>
        </li>
        <!-- 作者 -->
        <li class="nav-item dropdown">
            <a class="nav-link" href="https://gitee.com/zhou-haifeng6666" target="_blank">
                <i class="fas fa-at"></i>&nbsp;<b>作者</b>
            </a>
        </li>
    </ul>
</nav>
</body>
</html>